//默认分页样式
export const pagination = {
    current: 1, //当前页码
    total: 0, // 总条数
    pageSize: 10, //每页中显示10条数据
    showTotal: total => `共${total} 条数据`, //分页中显示总的数据
    showSizeChanger: true,
}


export const cluesTable = [


    {
        title: '编号',
        dataIndex: "id",
        width: 100,

    },


    {
        title: '电话',
        dataIndex: "phoneNumber",
        width: 150,

    },


    {
        title: '称呼',
        dataIndex: "name",
        width: 150,

    },


    {
        title: '留言信息',
        dataIndex: "message",
        ellipsis:true


    },
    {
        title: '处理状态',
        dataIndex: "status",
        width: 150,
        scopedSlots: {
            customRender: 'status'
        }



    },


    {
        title: '提交时间',
        align: "left",
        dataIndex: 'createTime',
        width: 200,
    },


    {
        title: '操作',
        fixed: "right",
        width: 100,
        scopedSlots: {
            customRender: 'operation'
        }
    }
];





